﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using SuperX.SuperSocket.Server;

namespace SuperX.SuperSocket.Socket.Message
{
    public interface ISsocketMessage
    {
        byte[] Datas { get; set; }

        string Content { get; set; }

        byte[] ConvertToBytes<T>(T obj) where T : new();

        T GetObject<T>() where T : class, new();
    }
}